package com.zx.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <h1>商品信息</h1>
 * */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsInfo {

    private Long id;

    private String goodsCategory;

    private String brandCategory;

    private String goodsName;

    private String goodsPic;

    private String goodsDescription;

    private Integer goodsStatus;

    private Integer price;

    private GoodsProperty goodsProperty;

    private Long supply;

    private Long inventory;

    private Date createTime;

    private Date updateTime;

    /**
     * <h2>商品属性</h2>
     * */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class GoodsProperty {

        private String size;

        private String color;

        private String material;

        private String pattern;
    }
}
